import Actions from './actions';
export interface IMainReducer {
  isReady: boolean;
  isLoading?: boolean;
  areas?: [];
  city?: string;
  xiaoqu?: string;
  xiaoquArr?: [];
  xiaoquArrAll?: [];
  House?: {
    buildingId?: string;
    unitId?: string;
    id?: string;
  };
  phone?: string;
  userName?: string;
  vCode?: string;
  houseHoldType?: string;
  checked?: string;
  buildingName?: string;
  buildingList?: [];
  buildingListAll?: [];
  checkbuildingNameed?: string;
  unitName?: string;
  unitList?: [];
  unitListAll?: [];
  houseName?: string;
  houseId?: string;
  houseList?: [];
  houseListAll?: [];
}

export type ActionType = ReturnType<typeof Actions>;
export type IAllReducerProps = {
  main: IMainReducer;

  [name: string]: any;
};

//默认是全部的属性,可以自定义
export type IProps = IAllReducerProps & ActionType;

//create by moon https://github.com/creasy2010/moon
